package com.einmeer.sercuritydemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @author 芊嵛
 * @date 2024/3/1
 */
@Data
public class User {
    @TableId(value = "id",type = IdType.AUTO) // 主键自增
    private Integer id;
    private String username;
    private String password;
    private Boolean enabled;
}
